package com.xu.demo.design;

import com.xu.demo.design.impl.CacheServiceImpl;
import org.junit.Test;

/**
 *
 * @author xudenghui
 * @create 2023-07-24 11:56
 **/
public class cuisine {

    @Test
    public void test_CacheService() {

        CacheServiceImpl cacheService = new CacheServiceImpl();

        cacheService.set("user_name_01", "小傅哥", 1);
        String val01 = cacheService.get("user_name_01", 1);
        System.out.println("测试结果：" + val01);

    }
}
